1237de24b4e3b47eaa4f26ddd3f3be7bef982412,tests/src/test/java/com/appnexus/opensdk/MediatedAdViewControllerTest.java,MediatedAdViewControllerTest,test7NoFillMediationWithStandardResultCB,#,165

Before Change


    // transitions to the standard ad successfully
    @Test
    public void test7NoFillMediationWithStandardResultCB() {
        FakeHttp.addPendingHttpResponse(200, TestResponses.mediatedNoFill());
        FakeHttp.addPendingHttpResponse(200, TestResponses.banner());
        FakeHttp.addPendingHttpResponse(200, TestResponses.blank());
        runBasicResultCBTest(UNABLE_TO_FILL, true);
        // check that the standard ad was loaded
        View view = bannerAdView.getChildAt(0);

After Change


    // transitions to the standard ad successfully
    @Test
    public void test7NoFillMediationWithStandardResultCB() {
        server.enqueue(new MockResponse().setResponseCode(200).setBody(TestResponses.mediatedNoFill()));
        server.enqueue(new MockResponse().setResponseCode(200).setBody(TestResponses.banner()));
        server.enqueue(new MockResponse().setResponseCode(200).setBody(TestResponses.blank()));
        runBasicResultCBTest(UNABLE_TO_FILL, true);
        // check that the standard ad was loaded
        View view = bannerAdView.getChildAt(0);